<%@ Control Language="C#" AutoEventWireup="true" CodeFile="usercp.ascx.cs" Inherits="forums_controls_usercp_usercp" %>
<%@ Register Src="pm/privatemessages.ascx" TagName="privatemessages" TagPrefix="uc5" %>
<%@ Register Src="EditSettingsl.ascx" TagName="EditSettingsl" TagPrefix="uc4" %>
<%@ Register Src="EditProfile.ascx" TagName="EditProfile" TagPrefix="uc3" %>
<%@ Register Src="ChangePassword.ascx" TagName="ChangePassword" TagPrefix="uc2" %>
<%@ Register Src="EditAvatar.ascx" TagName="EditAvatar" TagPrefix="uc1" %>
<asp:MultiView ID="mviewUser" runat="server">
    <asp:View ID="viewUser" runat="server">
        <table width="100%" border="0">
            <tr>
                <td class="post_left" valign="top">
                    <p>
                        <asp:HyperLink runat="server" ID="lnkForumHome"
                             Text="Forum Home"
                             NavigateUrl="~/forums/default.aspx" />
                    </p>
                    <p>
                        Profile:<br />
                        <asp:LinkButton ID="lnkProfile" runat="server" Text='Edit My Profile' OnClick="lnkProfile_Click" /><br />
                        <asp:LinkButton ID="lnkAvatar" runat="server" Text='Edit My Avatar' OnClick="lnkAvatar_Click" /><br />
                        <asp:LinkButton ID="lnkPassword" runat="server" OnClick="lnkPassword_Click">Change Password</asp:LinkButton>
                    </p>
                    <p>
                        Private Messages:<br />
                        <asp:LinkButton ID="lnkNew" runat="server" Text="New Message" OnClick="lnkNew_Click" /><br />
                        <asp:LinkButton ID="lnkInbox" runat="server" Text='Inbox' OnClick="lnkInbox_Click" /><br />
                        <asp:LinkButton ID="lnkOutbox" runat="server" Text='Outbox' OnClick="lnkOutbox_Click" /><br />
                        <asp:LinkButton ID="lnkSent" runat="server" Text='Sent Messages' OnClick="lnkSent_Click" />
                    </p>
                    <p>
                        Settings:<br />
                        <asp:LinkButton ID="lnkSettings" runat="server" Text='Change My Settings' OnClick="lnkSettings_Click" />
                    </p>
                </td>
                <td class="post_right" width="75%" valign="top">
                    <asp:MultiView runat="server" ID="mviewOptions" ActiveViewIndex="0">
                        <asp:View runat="server" ID="viewDefault">
                            <h2>Control Panel</h2>
                            This is your control panel.</asp:View>
                        <asp:View ID="viewProfile" runat="server">
                            <h2>Edit Profile</h2>
                            <uc3:EditProfile ID="EditProfile1" runat="server" />
                        </asp:View>
                        <asp:View ID="viewSettings" runat="server">
                            <h2>Change Settings</h2>
                            <p>
                                <uc4:EditSettingsl ID="EditSettingsl1" runat="server" />
                                &nbsp;</p>
                        </asp:View>
                        <asp:View ID="viewAvatar" runat="server">
                            <h2>Edit Avatar</h2>
                            <uc1:EditAvatar id="EditAvatar1" runat="server">
                            </uc1:EditAvatar>
                        </asp:View>
                        <asp:View ID="viewPassword" runat="server">
                            <h2>Change Password</h2>
                            <uc2:ChangePassword ID="ChangePassword1" runat="server" />
                        </asp:View>
                        <asp:View ID="viewPMs" runat="server">
                            <h2>Private Messages</h2>
                            <uc5:privatemessages id="Privatemessages1" runat="server">
                            </uc5:privatemessages>
                        </asp:View>
                    </asp:MultiView>
                </td>
            </tr>
        </table>
    </asp:View>
    <asp:View ID="viewError" runat="server">
        Does not compute!</asp:View>
</asp:MultiView>
